import Vue from 'vue'
import 'vant/lib/index.css'
import {
  Button,
  DatetimePicker,
  Field,
  Uploader,
  Step,
  Steps,
  Picker,
  Toast,
  Popup,
  Dialog,
  Icon,
  Radio,
  RadioGroup,
  Loading,
  Tab,
  Tabs,
  PasswordInput,
  NumberKeyboard,
  ImagePreview,
  List,
    Empty,
  CellGroup,
  Cell,
  Checkbox,
  CheckboxGroup
} from 'vant'
Vue.use(PasswordInput)
Vue.use(NumberKeyboard)
Vue.use(DatetimePicker)
Vue.use(Field)
Vue.use(Uploader)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Step).use(Steps)
Vue.use(Picker)
Vue.use(Toast)
Vue.use(Popup)
Vue.use(Dialog)
Vue.use(Icon)
Vue.use(Button)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Loading)
Vue.use(List)
Vue.use(Empty)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(ImagePreview)
Toast.setDefaultOptions({ duration: 3000 })
Vue.prototype.$Toast = Toast
Vue.prototype.$Dialog = Dialog
